package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastComplain implements Serializable {
    private Integer id;

    private Integer businessid;

    private String businessname;

    private Date createtime;

    private Integer goodssellid;

    private String goodssellname;

    private Integer ischeck;

    private Integer isreply;

    private Date replytime;

    private String useremail;

    private Integer userid;

    private String username;

    private Integer goodssellrecordid;

    private String goodssellcode;

    private Integer agentid;

    private String agentname;

    private Integer type;

    private String content;

    private String replycontent;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastComplain withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastComplain withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastComplain withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastComplain withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getGoodssellid() {
        return goodssellid;
    }

    public RunfastComplain withGoodssellid(Integer goodssellid) {
        this.setGoodssellid(goodssellid);
        return this;
    }

    public void setGoodssellid(Integer goodssellid) {
        this.goodssellid = goodssellid;
    }

    public String getGoodssellname() {
        return goodssellname;
    }

    public RunfastComplain withGoodssellname(String goodssellname) {
        this.setGoodssellname(goodssellname);
        return this;
    }

    public void setGoodssellname(String goodssellname) {
        this.goodssellname = goodssellname == null ? null : goodssellname.trim();
    }

    public Integer getIscheck() {
        return ischeck;
    }

    public RunfastComplain withIscheck(Integer ischeck) {
        this.setIscheck(ischeck);
        return this;
    }

    public void setIscheck(Integer ischeck) {
        this.ischeck = ischeck;
    }

    public Integer getIsreply() {
        return isreply;
    }

    public RunfastComplain withIsreply(Integer isreply) {
        this.setIsreply(isreply);
        return this;
    }

    public void setIsreply(Integer isreply) {
        this.isreply = isreply;
    }

    public Date getReplytime() {
        return replytime;
    }

    public RunfastComplain withReplytime(Date replytime) {
        this.setReplytime(replytime);
        return this;
    }

    public void setReplytime(Date replytime) {
        this.replytime = replytime;
    }

    public String getUseremail() {
        return useremail;
    }

    public RunfastComplain withUseremail(String useremail) {
        this.setUseremail(useremail);
        return this;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail == null ? null : useremail.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public RunfastComplain withUserid(Integer userid) {
        this.setUserid(userid);
        return this;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public RunfastComplain withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getGoodssellrecordid() {
        return goodssellrecordid;
    }

    public RunfastComplain withGoodssellrecordid(Integer goodssellrecordid) {
        this.setGoodssellrecordid(goodssellrecordid);
        return this;
    }

    public void setGoodssellrecordid(Integer goodssellrecordid) {
        this.goodssellrecordid = goodssellrecordid;
    }

    public String getGoodssellcode() {
        return goodssellcode;
    }

    public RunfastComplain withGoodssellcode(String goodssellcode) {
        this.setGoodssellcode(goodssellcode);
        return this;
    }

    public void setGoodssellcode(String goodssellcode) {
        this.goodssellcode = goodssellcode == null ? null : goodssellcode.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastComplain withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastComplain withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public Integer getType() {
        return type;
    }

    public RunfastComplain withType(Integer type) {
        this.setType(type);
        return this;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public RunfastComplain withContent(String content) {
        this.setContent(content);
        return this;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getReplycontent() {
        return replycontent;
    }

    public RunfastComplain withReplycontent(String replycontent) {
        this.setReplycontent(replycontent);
        return this;
    }

    public void setReplycontent(String replycontent) {
        this.replycontent = replycontent == null ? null : replycontent.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", createtime=").append(createtime);
        sb.append(", goodssellid=").append(goodssellid);
        sb.append(", goodssellname=").append(goodssellname);
        sb.append(", ischeck=").append(ischeck);
        sb.append(", isreply=").append(isreply);
        sb.append(", replytime=").append(replytime);
        sb.append(", useremail=").append(useremail);
        sb.append(", userid=").append(userid);
        sb.append(", username=").append(username);
        sb.append(", goodssellrecordid=").append(goodssellrecordid);
        sb.append(", goodssellcode=").append(goodssellcode);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", type=").append(type);
        sb.append(", content=").append(content);
        sb.append(", replycontent=").append(replycontent);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}